<#import "../../layout.html" as c>
    <#import "../../list_layout.html" as list>
        <#assign alertList = []/>
        <@c.html title="销售列表">
        <!-- ================== 开始页面级CSS调用 ================== -->
        <link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== -->
        <@list.html title="销售列表" subTitle="销售列表" alertList=alertList permi="sys:seller:save" addBtn=true searchHint="请输入销售名字进行搜索">

        <!-- 开始用户权限参数 -->
        <@shiro.hasPermission name="sys:seller:edit">
        <input type="hidden" id="editPermi" value="1"/>
    </@shiro.hasPermission>
    <@shiro.hasPermission name="sys:seller:del">
    <input type="hidden" id="delPermi" value="1"/>
</@shiro.hasPermission>
<!-- 结束用户权限参数 -->

<!-- 开启编辑管理员模态窗口 -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
        </div>
    </div>
</div>
<!-- 结束编辑管理员模态窗口 -->

<!-- 开启编辑管理员模态窗口 -->
<div class="modal fade" id="editModal" tabindex="-1" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"> 销售权限修改 </h4>
            </div>
            <div class="modal-body">
                <form id="editForm" class="form-horizontal form-bordered p-0" autocomplete="off" action="${adminRoot}seller/edit.json" method="post" data-parsley-validate="true">
                    <input type="hidden" id="id" name="id"/>
                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">佣金比例<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="feeScale" id="feeScale" class="form-control" placeholder="请输入佣金比例" maxlength="100" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-200个字符。"  data-parsley-required="true" data-parsley-length="[1, 200]"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">是否可以查看所有用户: </label>
                        <div class="col-md-9 col-sm-8">
                            <input type="checkbox" class="allCustomer" autocomplete="off"
                                   data-input-name="allCustomer"
                                   data-size="small"
                                   data-on-color="primary"
                                   data-on-text="是"
                                   data-off-text="否"
                                   data-input-true="1"
                                   data-input-false="2"
                                   checked/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">是否可以查看客户电话: </label>
                        <div class="col-md-9 col-sm-8">
                            <input type="checkbox" class="customerPhone" autocomplete="off"
                                   data-input-name="customerPhone"
                                   data-size="small"
                                   data-on-color="primary"
                                   data-on-text="是"
                                   data-off-text="否"
                                   data-input-true="1"
                                   data-input-false="2"
                                   checked/>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer"> <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a> <a href="javascript:;" class="btn btn-primary" data-loading-text="Loading..." nc-ajax-submit-target="editForm" nc-ajax-submit>确认提交</a> </div>
        </div>
    </div>
</div>
<!-- 结束编辑管理员模态窗口 -->

</@list.html>
<!-- ================== 开始页面级JavaScrip调用 ================== -->
<script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
<!-- 表单checkbox项 -->
<script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
<!-- 日历控件 -->
<script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
<script src="${jsRoot}seller/seller.handle.js"></script>
<!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
S